package cn.org.atool.generator.demo.entity;

import cn.org.atool.fluent.mybatis.annotation.FluentMybatis;
import cn.org.atool.fluent.mybatis.annotation.TableField;
import cn.org.atool.fluent.mybatis.base.BaseEntity;

/**
 * NoPrimaryEntity: 数据映射实体定义
 *
 * @author Powered By Fluent Mybatis
 */
@SuppressWarnings({"rawtypes", "unchecked"})
@FluentMybatis(
    table = "no_primary",
    schema = "fluent_mybatis",
    useDao = false
)
public class NoPrimaryEntity extends BaseEntity {
  private static final long serialVersionUID = 1L;

  @TableField("column_1")
  private Integer column1;

  @TableField("column_2")
  private String column2;

  public Integer getColumn1() {
    return this.column1;
  }

  public void setColumn1(Integer column1) {
    this.column1 = column1;
  }

  public String getColumn2() {
    return this.column2;
  }

  public void setColumn2(String column2) {
    this.column2 = column2;
  }

  @Override
  public final Class entityClass() {
    return NoPrimaryEntity.class;
  }
}
